package com.recharge.sup;

import com.recharge.domain.TradeFlow;
import com.recharge.domain.TradeOrder;
import com.recharge.mapper.ITradeFlowMapper;
import com.recharge.mapper.ITradeOrderMapper;
import com.recharge.utils.OrderStatus;
import com.recharge.utils.ProcessResult;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

/**
 * Created by CAOQI on 2016/12/17.
 */
public abstract class AbsSupChargeService {

    public abstract ProcessResult recharge(TradeOrder tradeOrder,TradeFlow tradeFlow);

    public abstract void response(TradeOrder tradeOrder,TradeFlow tradeFlow,Map<String,String> responseMap);

    public abstract  ProcessResult query(TradeOrder tradeOrder,TradeFlow tradeFlow);
}
